package org.lee.controller;

import lombok.SneakyThrows;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

    @SneakyThrows
    @RequestMapping("/hello")
//    public String user(HttpServletResponse response){
    public String user(){
        return "jackie";
//        response.sendRedirect("/main.html");
    }

}
